package Impl;


import model.Student;

import java.sql.SQLException;
import java.util.List;

public interface StudentDaoImpl {
    //没有方法体，表示声明
    List<Student> getAllStudent() throws SQLException;
    List<Student> getStudentByName(String name);
    boolean saveStudent(Student student);
    List<Student> getStudentByStuNo(String no);
    int updateStudent(Student s);
    public List<Student> getStudentByPaging(int currentPage, int pageSize);
    boolean registerStudent(String userName, String password);
    int deleteStudent(String stuNo);
    long totalRecords();


}
